package cn.dakaqi.services;

import cn.dakaqi.entities.Customer;
import cn.dakaqi.utils.exception.ServiceRuntimeException;

/**
 * Created by yangx
 * Date: 2016/7/19 0019
 * Time: 16:45
 */
public interface CustomerService {

    void saveCustomer(Customer customer);
    void updateCustomer(Customer customer)throws ServiceRuntimeException;
    Customer findByCode(String code) throws ServiceRuntimeException;

}
